﻿using JESAI.Application.Abstractions.Validators;

namespace JESAI.Application.Abstractions.Auth.Dtos
{
    /// <summary>
    /// 登陆入参
    /// </summary>
    public class LoginInput
    {
        /// <summary>
        /// 账号
        /// </summary>
        [NotEmpty("001", "账号不能为空")]
        public string UserName { set; get; }
        /// <summary>
        /// 密码
        /// </summary>
        public string Password { set; get; }

        /// <summary>
        /// 验证码
        /// </summary>
        public string ImgCode { set; get; }
        /// <summary>
        /// 随机
        /// </summary>
        public string Guid { get; set; }
    }
}
